package com.config;

import com.interceptor.CustomerServiceInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author Fang Ruichuan
 * @date 2023-01-01 14:07
 */
@Configuration
@EnableAspectJAutoProxy
public class TestConfiguration {

    @Bean
    public CustomerServiceInterceptor customerServiceInterceptor() {
        return new CustomerServiceInterceptor();
    }

}
